package com.cstor.liang.pojo.other;

import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2017/9/6.
 */
public class UserMessageVo {

    @NotNull(message = "缺少title")
    private String title;

    @NotNull(message = "缺少content")
    private String content;

    private Integer haveRead;

    private Integer userId;

    public UserMessageVo() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getHaveRead() {
        return haveRead;
    }

    public void setHaveRead(Integer haveRead) {
        this.haveRead = haveRead;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    ;
}
